package com.zxzw.scanningin.http.service


import com.zxzw.scanningin.http.BaseResponse
import com.zxzw.scanningin.http.FaceCheckRequest
import com.zxzw.scanningin.http.FaceOrNotRequest
import com.zxzw.scanningin.http.FaceOrNotResponse
import com.zxzw.scanningin.http.LoginRequest
import com.zxzw.scanningin.http.LoginResponse
import com.zxzw.scanningin.http.MealListRequest
import com.zxzw.scanningin.http.PayRequest
import com.zxzw.scanningin.http.TipInfoResponse
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Path
import retrofit2.http.Query
import com.zxzw.scanningin.http.CodeResponse as CodeResponse1

/**
 * @author zx
 * @date 2023/11/28 21:55
 * @desc 接口
*/
interface ApiService {

    //扫码签到打卡
    @GET("attendance/app/punchCard/punch/QRCode/{id}")
    suspend fun scanSignApi(@Path("id") id: String,
                            @Query("deviceCode")deviceCode :String,
                            @Query("time")time :String): BaseResponse


    //扫码签到打卡
    @GET("attendance/app/punchCard/punch/pda/{workNumber}")
    suspend fun cardSignApi(@Path("workNumber") workNumber: String,
                            @Query("deviceCode")deviceCode :String,
                            ): BaseResponse
}